package com.demo.common.controller.testinterceptor;

import com.demo.interceptor.ActionInterceptor;
import com.demo.interceptor.ActionInterceptorStack;
import com.demo.interceptor.ControllerInterceptorStack;
import com.jfinal.aop.Before;
import com.jfinal.core.Controller;
/**
 * 拦截器具体测试类
 * @author xwalker
 *
 */ 
@Before(ControllerInterceptorStack.class)
public class InterceptorStackTestController extends Controller{
	@Before(ActionInterceptor.class)
	public void controllerstatcktest(){
		renderText("调用InterceptorTestController actiontest  全局、Controller拦截器组、Action级别");
	}
	@Before(ActionInterceptorStack.class)
	public void actionstatcktest(){
		renderText("调用InterceptorTestController actiontest  全局、Controller拦截器组、Action拦截器组");
	}
	
}
